<?php
namespace App\Request;

use App\Request\Request;

class VideoRequest extends Request
{
    // 规则
    public function rules(): array
    {
        return [
            'title' => 'required',
            'video' => 'required',
            'time'  => 'required'
        ];
    }
}